package com.cai.oamanager.router;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/16 10 : 02
 * @package：com.cai.oamanager.router
 */
@Controller
@RequestMapping("router")
public class Router {

    @RequestMapping("login.html")
    public String toLogin(){
        return "login";
    }

    @RequestMapping("index.html")
    public String toIndex(){
        return "index";
    }
    @RequestMapping("myself.html")
    public String toMySelf(){
        return "myself";
    }

//    @RequestMapping("sendMessage.html")
//    public String toSendMeassage(){return "sendmes";}
}
